<?php
$this->load->view('site/includes/header');
$this->load->view('site/includes/topo');
?>
<div class="container">
    <section class="row">
        <header class="col-lg-12">
            <h1 class="page-header">Perguntas Frequentes</h1>
            <ol class="breadcrumb">
                <li><a href="<?php echo base_url(); ?>">Página Inicial</a>
                </li>
                <li class="active">Perguntas Frequentes</li>
            </ol>
        </header>
    </section>
    <section class="row">
        <article class="col-lg-12">
            <div class="panel-group" id="accordion">
                <?php foreach ($faq as $key => $pr){?>
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h2 class="panel-title">
                                <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#pr<?php echo $key?>"><?php echo $pr['PERGUNTA']?></a>
                            </h2>
                        </div>
                        <div id="pr<?php echo $key?>" class="panel-collapse collapse">
                            <div class="panel-body">
                                <?php echo nl2br($pr['RESPOSTA'])?>
                            </div>
                        </div>
                    </div>
                <?php } ?>
            </div>
        </article>
        
        <div class="col-md-12 center">
                <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
                <!-- NOVO SITE - Banner Rodape -->
                <ins class="adsbygoogle novo-site-banner-rodape"
                     style="display:inline-block"
                     data-ad-client="ca-pub-5390119077450997"
                     data-ad-slot="9408692075"></ins>
                <script>
                (adsbygoogle = window.adsbygoogle || []).push({});
                </script>
            </div>  
    </section>

    <?php $this->load->view('site/includes/rodape'); ?>